cmake_minimum_required(VERSION 3.0)
project(chat)

set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -g -std=c++11")

set(EXECUTABLE_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/bin)
include_directories(${PROJECT_SOURCE_DIR}/include)
include_directories(${PROJECT_SOURCE_DIR}/include/server)
include_directories(${PROJECT_SOURCE_DIR}/include/server/db)
include_directories(${PROJECT_SOURCE_DIR}/include/server/model)
include_directories(${PROJECT_SOURCE_DIR}/thirdparty)
include_directories("/home/martinruan/study/muduo/build/release-install-cpp11/include")
link_directories("/home/martinruan/study/muduo/build/release-install-cpp11/lib")
add_subdirectory(src)